package com.idp.app.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.idp.app.dto.*;
import com.idp.app.entity.SyLxrEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 镇街检察联络表Mapper
 *
 * @author： Simon
 */
@Mapper
public interface SyLxrMapper extends BaseMapper<SyLxrEntity> {

    /**
     * 条件查询
     *
     * @param syLxrSearchDto
     * @return
     */
    List<SyLxrDto> getList(SyLxrSearchDto syLxrSearchDto);

    /**
     * 通过id查询
     *
     * @param id
     * @return
     */
    SyLxrDto getById(Long id);

    /**
     * 查询联络人
     *
     * @param screenCommonDto
     * @return
     */
    List<SyLxrDto> getSyLxrByDqbm(ScreenCommonDto screenCommonDto);

}
